package com.pap.product.product.auto.entity;

import java.io.Serializable;

import com.pap.base.entity.PapBaseEntity;
import com.pap.base.mybatis.plugin.annotation.MyBatisColumnAnnotation;
import com.pap.base.mybatis.plugin.annotation.MyBatisTableAnnotation;

@MyBatisTableAnnotation(name = "t_product_product_detail", namespace = "com.pap.product.product.auto.mapper.ProductDetailMapper", remarks = " 修改点 ", aliasName = "t_product_product_detail t_product_product_detail")
public class ProductDetail extends PapBaseEntity implements Serializable {
	/**
	 * 编码,所属表字段为t_product_product_detail.CODE
	 */
	@MyBatisColumnAnnotation(name = "CODE", value = "t_product_product_detail_CODE", chineseNote = "编码", tableAlias = "t_product_product_detail")
	private String code;

	/**
	 * 所归属的产品编号,所属表字段为t_product_product_detail.PRODUCT_ID
	 */
	@MyBatisColumnAnnotation(name = "PRODUCT_ID", value = "t_product_product_detail_PRODUCT_ID", chineseNote = "所归属的产品编号", tableAlias = "t_product_product_detail")
	private String productId;

	/**
	 * 产品融资项目编号,所属表字段为t_product_product_detail.ITEM_ID
	 */
	@MyBatisColumnAnnotation(name = "ITEM_ID", value = "t_product_product_detail_ITEM_ID", chineseNote = "产品融资项目编号", tableAlias = "t_product_product_detail")
	private String itemId;

	/**
	 * 融资项目值类型:单值,字典纸,所属表字段为t_product_product_detail.ITEM_VALUE_TYPE
	 */
	@MyBatisColumnAnnotation(name = "ITEM_VALUE_TYPE", value = "t_product_product_detail_ITEM_VALUE_TYPE", chineseNote = "融资项目值类型:单值,字典纸", tableAlias = "t_product_product_detail")
	private String itemValueType;

	/**
	 * 所归属的字典编号,所属表字段为t_product_product_detail.DICT_ID
	 */
	@MyBatisColumnAnnotation(name = "DICT_ID", value = "t_product_product_detail_DICT_ID", chineseNote = "所归属的字典编号", tableAlias = "t_product_product_detail")
	private String dictId;

	/**
	 * 所归属的字典值,所属表字段为t_product_product_detail.DICT_VALUE
	 */
	@MyBatisColumnAnnotation(name = "DICT_VALUE", value = "t_product_product_detail_DICT_VALUE", chineseNote = "所归属的字典值", tableAlias = "t_product_product_detail")
	private String dictValue;

	private static final long serialVersionUID = 1L;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public String getItemValueType() {
		return itemValueType;
	}

	public void setItemValueType(String itemValueType) {
		this.itemValueType = itemValueType;
	}

	public String getDictId() {
		return dictId;
	}

	public void setDictId(String dictId) {
		this.dictId = dictId;
	}

	public String getDictValue() {
		return dictValue;
	}

	public void setDictValue(String dictValue) {
		this.dictValue = dictValue;
	}

	@Override
	public String getDynamicTableName() {
		return "t_product_product_detail";
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", code=").append(code);
		sb.append(", productId=").append(productId);
		sb.append(", itemId=").append(itemId);
		sb.append(", itemValueType=").append(itemValueType);
		sb.append(", dictId=").append(dictId);
		sb.append(", dictValue=").append(dictValue);
		sb.append("]");
		return sb.toString();
	}
}